﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ShippingManage
{
	public partial class Form1 : Form
	{
		public Form1()
		{
			InitializeComponent();
		}

		#region form

		Form _AirWayBill = null;
		public Form AirWayBill
		{
			get
			{
				if (_AirWayBill == null || _AirWayBill.IsDisposed)
					_AirWayBill = new frmAirWayBill();
				return _AirWayBill;
			}
		}

		Form _Shipping = null;
		public Form Shipping
		{
			get
			{
				if (_Shipping == null || _Shipping.IsDisposed)
					_Shipping = new frmShipping();
				return _Shipping;
			}
		}

		#endregion

		private void btnAirWayBill_Click(object sender, EventArgs e)
		{
			AirWayBill.Show();
		}

		private void btnShipping_Click(object sender, EventArgs e)
		{
			Shipping.Show();
		}
	}
}
